package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_ghost_explore", desc = "鬼市探索", autoSave = true, uploadCk = true)
public class LogGhostExplore extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "事件类型")
    private int eventType;
    @FieldTypeAnnotation(desc = "事件参数")
    private String eventParam;

    public LogGhostExplore(int activityId, long userId, int eventType, String eventParam) {
        this.activityId = activityId;
        this.userId = userId;
        this.eventType = eventType;
        this.eventParam = eventParam;
    }

    public long getUserId() {
        return userId;
    }

}
